package com.qrlib.decode;

import android.graphics.Rect;
import android.support.annotation.NonNull;

/**
 * Created by zhengxiao on 09/08/2017.
 */

public interface DecodeWorker {

  boolean isRunning();

  void start();

  void stop();

  void decode(@NonNull byte[] data, int width, int height, boolean rotate, Rect crop);
}
